const config = require('config')
const fs = require('fs')
const path = require('path')
const p12Path = path.resolve('apiclient_cert.p12')

module.exports = {
  appId: config.wechat.appid,
  partnerKey: config.wechat.partnerKey,
  mchId: config.wechat.mchId,
  notifyUrl: config.wechat.notifyUrl,
  pfx: fs.readFileSync(p12Path)
}